const express = require('express');
const router = module.exports = express.Router();
const testData = require("../test");
const axios = require('axios');
const httpServer = axios.create({
    baseURL: 'http://localhost:8801'
})
router.get('/', (req, res) => {
    httpServer.get('/api/block/find?pageSize=100').then(response => {
        res.render('index', { blockData: { list: response.data } });
    });
});